import request from '@/utils/request'

// 查询学籍异动列表
export function listStudentChange(query) {
  return request({
    url: '/student/studentChange/list',
    method: 'get',
    params: query
  })
}

// 查询学籍异动详细
export function getStudentChange(id) {
  return request({
    url: '/student/studentChange/' + id,
    method: 'get'
  })
}

// 新增学籍异动
export function addStudentChange(data) {
  return request({
    url: '/student/studentChange',
    method: 'post',
    data: data
  })
}

// 修改学籍异动
export function updateStudentChange(data) {
  return request({
    url: '/student/studentChange',
    method: 'put',
    data: data
  })
}

// 删除学籍异动
export function delStudentChange(id) {
  return request({
    url: '/student/studentChange/' + id,
    method: 'delete'
  })
}

// 导出学籍异动
export function exportStudentChange(query) {
  return request({
    url: '/student/studentChange/export',
    method: 'get',
    params: query
  })
}